package com.hkd.cya.命令模式;

public class StudnetB {
    private String name;

    public StudnetB(String name) {
        this.name = name;
    }
    public void sprortCompetition(){
        System.out.println(this.name + "参加体育类竞赛");
    }
}
